fromPFMStream

Constructs an HDRImage by reading a PFM-formatted stream.

Return

the decoded HDRImage

Parameters

stream

the input stream containing PFM data

Throws

if the stream does not conform to the PFM specification